package com.keyingbo.leran.pattern.factorypattern.factorymethod;


import com.keyingbo.leran.pattern.factorypattern.Cat;

public class FunctionFactoryTest {
    public static void main(String[] args) {
        CatFactory factory = new AodiFactory();
        Cat cat = factory.createCat();
        cat.drive();
    }
}
